package A一周刷爆LeetCode.A基础班.G图;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wei.zhao
 * @description: 图的顶点
 * @date 2022年03月04日 13:52
 */
public class Node {
    public int value;
    public int in;
    public int out;
    public List<Node> nexts;
    public List<Edge> edges;

    public Node(int value) {
        value = value;
        in = 0;
        out = 0;
        nexts = new ArrayList<>();
        edges = new ArrayList<>();
    }

}
